package com.tedu.day08springmvc.mapper;


import com.tedu.day08springmvc.pojo.entity.User;
import com.tedu.day08springmvc.pojo.vo.UserVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {

    int insertUser(User user);
    int deleteUser(Integer id);

    int updateUser(User user);

    List<UserVO> findAllUser();

    UserVO findUserVOById(Integer id);



}
